class TaskListEntity {
	int code;
	TaskListData data;
	String message;

	TaskListEntity({this.code, this.data, this.message});

	TaskListEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		data = json['data'] != null ? new TaskListData.fromJson(json['data']) : null;
		message = json['message'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['message'] = this.message;
		return data;
	}
}

class TaskListData {
	List<TaskListDataResult> result;
	int current;
	int totalPage;

	TaskListData({this.result, this.current, this.totalPage});

	TaskListData.fromJson(Map<String, dynamic> json) {
		if (json['result'] != null) {
			result = new List<TaskListDataResult>();(json['result'] as List).forEach((v) { result.add(new TaskListDataResult.fromJson(v)); });
		}
		current = json['current'];
		totalPage = json['totalPage'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.result != null) {
      data['result'] =  this.result.map((v) => v.toJson()).toList();
    }
		data['current'] = this.current;
		data['totalPage'] = this.totalPage;
		return data;
	}
}

class TaskListDataResult {
	String timeOrder;
	String code;
	String actualGood;
	String statusCn;
	String moneystatus;
	int surplus;
	String goldstatus;
	int endtime;
	String memo;
	String remark;
	String dstatus;
	String pic;
	String exampic;
	int downTimes;
	String totalStep;
	String money;
	String price;
	String billId;
	String name;
	String storeName;
	String step;
	int id;
	String account;
	String status;

	TaskListDataResult({this.timeOrder, this.code, this.actualGood, this.statusCn, this.moneystatus, this.surplus, this.goldstatus, this.endtime, this.memo, this.remark, this.dstatus, this.pic, this.exampic, this.downTimes, this.totalStep, this.money, this.price, this.billId, this.name, this.storeName, this.step, this.id, this.account, this.status});

	TaskListDataResult.fromJson(Map<String, dynamic> json) {
		timeOrder = json['time_order'];
		code = json['code'];
		actualGood = json['actual_good'];
		statusCn = json['statusCn'];
		moneystatus = json['moneystatus'];
		surplus = json['surplus'];
		goldstatus = json['goldstatus'];
		endtime = json['endtime'];
		memo = json['memo'];
		remark = json['remark'];
		dstatus = json['dstatus'];
		pic = json['pic'];
		exampic = json['exampic'];
		downTimes = json['down_times'];
		totalStep = json['total_step'];
		money = json['money'];
		price = json['price'];
		billId = json['billId'];
		name = json['name'];
		storeName = json['store_name'];
		step = json['step'];
		id = json['id'];
		account = json['account'];
		status = json['status'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['time_order'] = this.timeOrder;
		data['code'] = this.code;
		data['actual_good'] = this.actualGood;
		data['statusCn'] = this.statusCn;
		data['moneystatus'] = this.moneystatus;
		data['surplus'] = this.surplus;
		data['goldstatus'] = this.goldstatus;
		data['endtime'] = this.endtime;
		data['memo'] = this.memo;
		data['remark'] = this.remark;
		data['dstatus'] = this.dstatus;
		data['pic'] = this.pic;
		data['exampic'] = this.exampic;
		data['down_times'] = this.downTimes;
		data['total_step'] = this.totalStep;
		data['money'] = this.money;
		data['price'] = this.price;
		data['billId'] = this.billId;
		data['name'] = this.name;
		data['store_name'] = this.storeName;
		data['step'] = this.step;
		data['id'] = this.id;
		data['account'] = this.account;
		data['status'] = this.status;
		return data;
	}
}
